package com.ruoyi.web.controller.modules;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.sdstc.modules.service.ScreenService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ：wk
 * @date ：Created in 2022/11/25 9:50
 */
@RestController
@RequestMapping("/screen")
public class ScreenController extends BaseController {

    @Autowired
    private ScreenService screenService;

    @GetMapping("/getScreen")
    public AjaxResult getSnowFlakeId(){
        return AjaxResult.success(screenService.getScreen());
    }


}
